The Movie Toolbox contains one new function for editing tracks.
The AddEmptyTrackToMovie function duplicates a track from a movie into the same movie or into another movie. The newly created track has the same media type and track settings as the specified track. However, no data is copied from the source track to the new track.
To copy data from the source track to the new track, use the InsertTrackSegment function after calling AddEmptyTrackToMovie.
pascal OSErr AddEmptyTrackToMovie(Track srcTrack,
Movie dstMovie,
Handle dataRef,
OSType dataRefType,
Track *dstTrack);
| Previous | Chapter Contents | Chapter Top | Next |